<?=$header?>

<p>
<? 
$query = $this->db->query('SELECT * FROM gcms_users WHERE ID='.$id);
$row = $query->row();

echo $this->validation->error_string;

echo form_open('users/edit2/'.$id);
echo 'Username<br />';
echo form_input('user', $row->user_login); 
echo '<br />Password <span class="meta">(Needed to change details)</span><br />';
echo form_password('pass', ''); 
echo '<br />Password Confirm <span class="meta">(Needed to change password)</span><br />';
echo form_password('pass_conf', ''); 
echo '<br />Email<br />';
echo form_input('email', $row->user_email); 
echo '<br />Website<br />';
echo form_input('url', $row->user_url); 
echo '<br />';
echo form_submit('submit', 'Update User');
echo form_close();
?>
</p>

<?=$footer?>

</body>
</html>